__author__ = 'zoulida'

import akshare as ak
#import exchange_calendars as xcals

def getMarketTime(code):#获取上市日期的
    stock_individual_info_em_df = ak.stock_individual_info_em(code)
    #print(stock_individual_info_em_df)
    #print(stock_individual_info_em_df.loc[3,'value'])
    return stock_individual_info_em_df.loc[3,'value']

if __name__ == '__main__':
    print(getMarketTime('600000'))
    #import exchange_calendars as xcals
    #print(xcals.get_calendar_names(include_aliases=False))